package com.ruoyi.eqmonitor.service.impl;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.eqmonitor.domain.OptDeviceAlarmProcess;
import com.ruoyi.eqmonitor.mapper.OptDeviceAlarmProcessMapper;
import com.ruoyi.eqmonitor.service.IOptDeviceAlarmProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;



/**
 * 设备报警处理过程Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-11-26
 */
@Service
public class OptDeviceAlarmProcessServiceImpl extends ServiceImpl<OptDeviceAlarmProcessMapper, OptDeviceAlarmProcess> implements IOptDeviceAlarmProcessService {
    
    @Autowired
    private OptDeviceAlarmProcessMapper optDeviceAlarmProcessMapper;

    @Override
    public OptDeviceAlarmProcess selectOptDeviceAlarmProcessById(Long id){
        return optDeviceAlarmProcessMapper.selectOptDeviceAlarmProcessById(id);
    }
      
    @Override
    public List<OptDeviceAlarmProcess> selectOptDeviceAlarmProcessList(OptDeviceAlarmProcess optDeviceAlarmProcess){
        return optDeviceAlarmProcessMapper.selectOptDeviceAlarmProcessList(optDeviceAlarmProcess);
    }
}
